id_rsa 遠端伺服器連線設定


Posted by kscheng on 2021-04-07

The environment is in MacBook

  1. Turn on the terminal then generate the key
    ssh-keygen
  2. Afterwards, see the pathway of files
    • id_rsa: private key
    • id_rsa.pub: public key
    • known_hosts: server information whom accpeted the connection
  3. Find out the public key (id_rsa.pub) and pass the file to the administor of remote service (usually the Site Reliability Engineer)
  4. While the SRE finished, test the connection with password (which is set previously).
  5. If the everything alright, please keep the two keys (id_rsa and id_rsa.pub) somewhere else to keep the connection work once the local computer changed.

#id_rsa #public key #private key #connection







Related Posts

筆記:我知道你懂 hoisting,可是你了解到多深?

筆記:我知道你懂 hoisting,可是你了解到多深?

React-[作業篇]-W2 | 產品CRUD練習

React-[作業篇]-W2 | 產品CRUD練習

[演講筆記] 突破學習困境與職涯瓶頸的行動指南 - 學習長阿康 : 我的人生策略與學習方法論

[演講筆記] 突破學習困境與職涯瓶頸的行動指南 - 學習長阿康 : 我的人生策略與學習方法論


Comments